Add fallback glyphs for GtkSwitch states
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 15 Jan 2019 22:16:05 +0000 (22:16 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 15 Jan 2019 22:16:05 +0000 (22:16 +0000)
commit5c50e48156c6edbc2923bb3702f60349d8184057
treecd4e88ce64e45d9f22a90d7983f11bd3ec47da91
parentc7af3e61e249c98712b10eff7757a5b0b0d4cc95
Add fallback glyphs for GtkSwitch states

Even though the IEC power glyphs are part of Unicode 9.0 (released in
2016) not all fonts have them.

To avoid showing the hexbox of doom when the system font does not have
the glyphs we'd like to use, add a fallback pair, using the old glyphs
we suggested when the labels were translatable.
gtk/gtkswitch.c